package net.sf.midollo.io.crypto;

import java.io.OutputStream;
import java.io.IOException;

public class SimpleCryptoOutputStream extends OutputStream {

	protected final OutputStream os;

	public SimpleCryptoOutputStream(OutputStream os) {
		this.os = os;
	}

	public void write(int b) throws IOException {
	}

	public void write(byte b[]) throws IOException {
		super.write(b);
	}

	public void write(byte b[], int off, int len) throws IOException {

		this.os.write(b, off, len);
	}

	public void flush() throws IOException {
		this.os.flush();
	}

	public void close() throws IOException {
		this.os.close();
	}
}
